projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a897205
)
(w32_wnd_proc): Always zero button_state when releasing
author
Geoff Voelker
<voelker@cs.washington.edu>
Tue, 1 Sep 1998 00:30:46 +0000
(
00:30
+0000)
committer
Geoff Voelker
<voelker@cs.washington.edu>
Tue, 1 Sep 1998 00:30:46 +0000
(
00:30
+0000)
mouse capture.
src/w32fns.c
patch
|
blob
|
history
diff --git
a/src/w32fns.c
b/src/w32fns.c
index b08ac3f86f2de3fdce5ef0ea923ab886ad75d030..ea683d08fefe3fd538900a3816009b17c18add28 100644
(file)
--- a/
src/w32fns.c
+++ b/
src/w32fns.c
@@
-3898,6
+3898,7
@@
w32_wnd_proc (hwnd, msg, wParam, lParam)
/* Remember we did a SetCapture on the initial mouse down event,
so for safety, we make sure the capture is cancelled now. */
ReleaseCapture ();
+ button_state = 0;
/* Use menubar_active to indicate that WM_INITMENU is from
TrackPopupMenu below, and should be ignored. */
@@
-3921,7
+3922,6
@@
w32_wnd_proc (hwnd, msg, wParam, lParam)
{
retval = 0;
}
- button_state = 0;
}
else
{